import request from '@/utils/request'

// 获取分区
interface gasData {
  CreateStartTime: string,
  CreateEndTime: string,
  BarYardCode?: number,
  BarSectionCode?: number,
  code:string
}

// 获取气体Echarts数据
export function getGasEchartsDataApi (data: gasData) {
  return request({
    // url: '/api1/api/services/app/SafetyDetailRecordService/SearchSafetyDetailStatisticsByType',
    url: '/api1/api/app/gas/qTHistoryData',
    method: 'get',
    params: data
  })
}

